/**
 * 
 */
package io.dora.conf;

import io.dora.registry.AbstractRegistry;
import io.dora.registry.curator.CuratorRegistry;


/**
 * Registry Config Bean
 * 
 * @author zhaohongbo
 *
 */
public class RegistryConfig extends AbstractServiceConfig {

	/** 服务URL */
	private String url;

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	@Override
	public AbstractRegistry getRegistry() {
		return new CuratorRegistry(url);
	}
	
}
